package org.nanjing.notepad.construct;

public class User {
	private int id;
	private String username;
	private String userpass;

	public User() {

	}

	public User(int id, String username, String userpass) {
		super();
		this.id = id;
		this.username = username;
		this.userpass = userpass;
	}

	@Override
	public String toString() {
		return "User [id =" + id + ", username=" + username + ", userpass=" + userpass + "]";
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public String getUserpass() {
		return userpass;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public void setUserpass(String userpass) {
		this.userpass = userpass;
	}
}
